package com.maiworld.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.maiworld.pojo.Subject;

public interface SubjectLClMapper {
	int truncateSingleTable();
	
	int insertSingle(@Param("singles") List<Subject> singles);
	
	List<Subject> selectSingleBySubject(Subject subject);
	
	int saveSingleBySubject(Subject subject);
	
	int countSingle();
	
	List<Subject> selectSingleByArray(Long[] idArray);
	
	List<Subject> selectSingleBypage(@Param("start") int start,@Param("pageSize") int pageSize);
	
	
	
	int truncateJudgeTable();
	
	int insertJudge(@Param("judges") List<Subject> judges);
	
	List<Subject> selectJudgeBySubject(Subject subject);
	
	int saveJudgeBySubject(Subject subject);
	
	int countJudge();
	
	List<Subject> selectJudgeByArray(Long[] idArray);
	
	List<Subject> selectJudgeBypage(@Param("start") int start,@Param("pageSize") int pageSize);
	
	
	int truncateMultipleTable();
	
	int insertMultiple(@Param("multiples") List<Subject> multiples);
	
	List<Subject> selectMultipleBySubject(Subject subject);
	
	int saveMultipleBySubject(Subject subject);
	
	int countMultiple();
	
	List<Subject> selectMultipleByArray(Long[] idArray);
	
	List<Subject> selectMultipleBypage(@Param("start") int start,@Param("pageSize") int pageSize);
	
	

}
